package me.feng.entity

import me.feng.domain.Member

@serializable
case class User(id: String, name: String, portrait: String, resume: String,var online: Boolean)

object User {

  def member2User(m: Member): User = {
    new User(m.id, m.nickname, m.portrait, m.resume, false)
  }
}

